home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 January / EnigmA AMIGA RUN 33 (1999)(G.R. Edizioni)(IT)[!][issue 1999-01].iso / earcd / faq / commodore / main-faq / part4.z / part4
Internet Message Format  |  1999-01-01  |  26KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!news.kodak.com!news-pen-16.sprintlink.net!newsfeed.nysernet.net!news.nysernet.net!206.229.87.26!news-east.sprintlink.net!news-peer.sprintlink.net!news-backup-west.sprintlink.net!news-in-west.sprintlink.net!news.sprintlink.net!Sprint!207.15.61.35!omantsrv11.csgsystems.com!news
  2. From: cbmfaq-info@mail.jbrain.com (CBM FAQ Information)
  3. Newsgroups: comp.sys.cbm,news.answers,comp.answers
  4. Subject: COMP.SYS.CBM: General FAQ, v3.1 Part 4/9
  5. Supersedes: <cbmmainfaq40398@msen.com>
  6. Date: 5 Apr 1998 00:00:45 -0800
  7. Organization: A Red Hat Commercial Linux Site
  8. Lines: 425
  9. Sender: brain@alabanza.net
  10. Approved: news-answers-request@mit.edu (Emily Havens)
  11. Expires: 05 May 1998
  12. Message-ID: <cbmmainfaq40498@msen.com>
  13. NNTP-Posting-Host: 207.25.124.14
  14. Summary: This posting contains answers to questions that commonly surface in
  15.          comp.sys.cbm.  This posting will tell you enough to get your
  16.          computer connected to a network, fixed, and/or enhanced.  This file
  17.          should be read by new users of comp.sys.cbm before posting to the
  18.          group.  It should also be proofread by users who are currently
  19.          active in comp.sys.cbm.
  20. Keywords: CBM FAQ Help List C64 C128 VIC Modem
  21. Errors-To: cbmfaq-errors@mail.jbrain.com (CBM FAQ Errors)
  22. Xref: senator-bedfellow.mit.edu comp.sys.cbm:86779 news.answers:126982 comp.answers:30754
  23.  
  24. Archive-name: cbm-main-faq.3.1.p4
  25. Comp-answers-archive-name: commodore/main-faq/part4
  26. News-answers-archive-name: commodore/main-faq/part4
  27. Comp-sys-cbm-archive-name: main-faq/part4
  28. Version: 3.1
  29. Last-modified: 1996/01/25
  30.  
  31.   ---------------------------------------------------------------------------
  32.   
  33.   Table of Contents (for this file)
  34.   ---------------------------------
  35.  
  36.    6.  The Online Information Reservoir
  37.    6.1.  How do I download?  What is a transfer protocol?
  38.    6.2.  What is the difference between PETSCII and ASCII?
  39.    6.3.  Where can I find Commodore programs?
  40.    6.4.  What is a file extension, and what do they stand for?
  41.    
  42.   ---------------------------------------------------------------------------
  43.  
  44.  
  45.    6.  The Online Information Reservoir
  46.    
  47.    How true this is.  There is information everywhere online, just
  48.    waiting to be accessed and used.  Hoever, getting at the information
  49.    can be a time consuming process.  
  50.    
  51.    6.1.  How do I download?  What is a transfer protocol?
  52.   
  53.   To transfer files for another computer (another 64 or 128, UNIX, OS/2, 
  54.   DOS, MVS, VMS, Amiga, Atari, or other), you should use a transfer protocol.
  55.   Although it is possible to transfer files by turning on the terminal
  56.   program's capture buffer and receiving the file, this is not very
  57.   reliable and is prone to errors.  When transferring any sizable amount of
  58.   data, one should use some sort of error-correcting file transfer protocol.
  59.   A file transfer protocol splits a file into many pieces, or "packets", and
  60.   send a number of them at a time.  It then waits for an acknowledgement from 
  61.   the receiver that the received received the packets correctly.  At this
  62.   point, the sender send the next batch of packets.  This process is
  63.   repeated until the entore file is transmitted.  Each packet contains
  64.   computed checksums and other error detection bytes to ensure the
  65.   received data is not corrupt.
  66.   
  67.   Below are descriptions for some of the more popular protocols:
  68.    
  69.   C1 (commonly called Punter Protocol)
  70.   
  71.   C1 is a Commodore specific transfer protocol that used to be the
  72.   standard for file transfer.  However, with the increase in IBM-based
  73.   bulleting board, it has been replaced by other protocols.  Most Commodore
  74.   BBS systems still offer C1 (usually called Punter in the list) as an option,
  75.   but almost no other BBS systems have support for it.  There is, however, a 
  76.   C1 protocol transfer program for MS-DOS called puntr104.zip.  
  77.   
  78.   KERMIT
  79.  
  80.   KERMIT is the name of one of the oldest file transfer protocols.  KERMIT
  81.   is unique in that it can encode the file being transmitted so that
  82.   it does not contain any bytes greater than 128 and does not contain any
  83.   special control bytes that terminals use to perform special actions.  As
  84.   such, this protocol is the most robust, but it is also the slowest.  
  85.   A common statement is, "if you can't KERMIT it, you can't get it"
  86.  
  87.   XMODEM
  88.  
  89.   XMODEM comes in several varieties.  Standard XMODEM sends files in 128 byte
  90.   packets.  There are two standard error-correction methods with XMODEM
  91.   checksum and CRC.  CRC is the more modern of the two.  There is also a
  92.   version of XMODEM which supports 1K-byte packets.  This version is most
  93.   commonly known as XMODEM-1K, but is sometimes erroneously called YMODEM.
  94.  
  95.   YMODEM
  96.   
  97.   YMODEM is a "batch" XMODEM protocol, allowing you to transfer multiple
  98.   files in one operation.
  99.   
  100.   ZMODEM
  101.  
  102.   A new file transfer protocol is ZMODEM.  ZMODEM is theoretically the 
  103.   fastest transfer protocol, but only shows a speed gain over the others
  104.   on noise-free telephone lines.  It achieves this speed increase by only
  105.   replying to the sender about the bad packets.  
  106.   
  107.   Most terminal programs support PUNTER, XMODEM, XMODEM-1K, YMODEM, and 
  108.   KERMIT.  The Kermit terminal program only supports KERMIT, and Novaterm, 
  109.   as of version 9.5, supports ZMODEM receives, but not sends.
  110.    
  111.    
  112.    6.2.  What is the difference between PETSCII and ASCII?
  113.   
  114.   (Note that the Amiga line of computers uses the ISO 8859-1 character
  115.   set, so this does not apply to Amiga computers)
  116.   
  117.   When Commodore designed the PET line of computers, they chose for the 
  118.   character set encoding a special encoding called PETSCII.  This set is
  119.   similar but not the same as the American Standard Code for Information
  120.   Intercahnge (ASCII).  Now, this does not cause any 
  121.   problem when transferring information between or among Commodore
  122.   computers (except the Amiga, which I believe uses ASCII), but causes
  123.   problems when exchanging information with othe computer types.
  124.   
  125.   The obvious solution is for all Commodore users to translate incoming
  126.   information into PETSCII from ASCII when talking to another type of
  127.   computer.  However, this effectively ruins binary files, which have
  128.   no concept of character codes.  Therefore, the rules are:
  129.   
  130.   Do not translate when exchanging binary files with any computer 
  131.   
  132.   Translate all textual information exchanged with non-Commodore computers.
  133.   
  134.   Translate textual information exchanged with Commodore computers only
  135.   if they are translating it as well.
  136.   
  137.   If  a text file you retrieve looks like the uppercase letters should
  138.   be lowercase and vice versa, then the file is in ASCII and needs to
  139.   be converted to PETSCII.
  140.   
  141.    
  142.    6.3.  Where can I find Commodore programs?
  143.    
  144.    Commodore programs are available from a number of sources.  For commercial
  145.    software, please see Section 15.1 for a list of software dealers.  For
  146.    shareware and public domain, you can use FTP (Section 6.9), electronic
  147.    mail (Section 6.5.2), and bulletin board system in addition to the 
  148.    software dealers to download or buy programs and other software.
  149.   
  150.    
  151.    6.4.  What is a file extension, and what do they stand for?
  152.  
  153.   A file extension is a 1 or more letter suffix appended to the end of a file
  154.   name to indicate the type of file it is.  The extension usually indicates
  155.   the contents of a file.  The list below describes some more common file
  156.   extensions, what they are used for, and how to use the file.
  157.     
  158.   Please note that these file extensions are not Commodore-exclusive.  Many
  159.   computers use file extensions.  Also note that some file extensions
  160.   are cumulative.  IF a file is named "filename.tar.gz", this indicates that
  161.   the file is of type "gz", and the file(s) inside the gz file are of type
  162.   "tar".  To use this file, one would note that both extension are 
  163.   archival extensions.  One would undo the "gz" archival method to restore
  164.   the "filename.tar" archive, then undo the "tar" archival method to restore
  165.   the original file.
  166.   
  167.   Extension:    Meaning:            Notes:
  168.   -----------------------------------------
  169.   .txt          Text File           This file is not compressed, so it needs
  170.                                     no decompression step.  However, the file
  171.                                     may be in either ASCII or PETSCII format,
  172.                                     so a conversion step may be necessary.
  173.                                     Most terminal programs can do this
  174.                                     conversion, and there are stand-alone
  175.                                     programs that do the necessary conversion
  176.                                     also.
  177.  
  178.   .sda          Self-Dissolving     Just load and run the .sda file to
  179.                 Archive             dissolve the archive.  Will dissolve
  180.                                     itself into its constituent files.
  181.                                     C64 and C128 .sda files are not
  182.                                     compatible with each other.
  183.  
  184.   .sfx          Self-Extracting     Load and run just like a .sda file.
  185.                 Archive             The same archive can be extracted on
  186.                                     either a C64 or a C128, memory permitting.
  187.  
  188.   .arc          ARChive             Use the program arc250.4 or earlier
  189.                                     for the 64 or arc128 for the 128 to
  190.                                     dissolve the archive.  arc128 is available
  191.                                     as part of the CS-DOS package.  Other
  192.                                     de-archive programs may exist.
  193.  
  194.   .lzh          LHArchive           Use the program lhx in CS-DOS on the
  195.                                     128 to dissolve this archive.  These
  196.                                     are not very common.  This archive
  197.                                     uses the same format as .sfx files,
  198.                                     but is not self-extracting.  It is
  199.                                     a standard format also used by
  200.                                     Amiga (and MS-DOS) computers.  This
  201.                                     format originated on the PC.
  202.  
  203.   .lnx          Lynx Archive        The above formats all compress files when
  204.                                     storing them; Lynx just stores them.
  205.                                     There are many different versions of
  206.                                     Lynx out there, so good luck dissolving
  207.                                     these.
  208.  
  209.   .lbr          Library Archive     A format similar to lynx.  Library
  210.                                     dissolving programs exist for both the
  211.                                     64 and 128 to dissolve these.
  212.  
  213.   .uue          UUEncoded file      UUencoding is a process whereby a binary
  214.                                     file can be converted to an all-text
  215.                                     file, transferable by E-mail.  This
  216.                                     encoded file can later be UUDecoded back
  217.                                     to the original binary file.  Unix
  218.                                     has uuencoding/decoding utilities.
  219.                                     A program "uuxfer" for the
  220.                                     C64 (by Fuzzy Fox) will both uuencode
  221.                                     and uudecode.  Note that the contents of
  222.                                     uue file could be another archived file.
  223.  
  224.   .uua          UU archive          An extension of uuencoding, a uuarchive
  225.                                     file is a concatenation of one or more
  226.                                     UUEncoded files.  So far as I know, this
  227.                                     was introduced by Craig Bruce in his ACE
  228.                                     shell for the C=128, and the utilities
  229.                                     included with that shell create and
  230.                                     dissolve uuarchives.
  231.  
  232.   .kar          Kevin's Archive     Another text archive format that seems
  233.                                     to have originated with Craig Bruce,
  234.                                     this is a proscription for concatenating
  235.                                     a series of text files (which can include
  236.                                     uuencoded files) into one file.  More
  237.                                     information can be found in C. Bruce's
  238.                                     documentation for his ace shell.
  239.  
  240.   x!<file>      ZIPCoded file       ZIPCode is a program that takes an entire
  241.                                     disk and "compacts" it into 4 files that
  242.                                     have a number followed by a '!' and then
  243.                                     a filename.  Also, ZipCode can compress
  244.                                     files, in which case the x is a letter
  245.                                     (a,b,c,d) and there need not be 4 files.
  246.                                     If ZipCode has compressed individual 
  247.                                     files, there will be an "i!" or 
  248.                                     "x!"-prefixed file on the disk that holds
  249.                                     the directory of the file compressed.  To
  250.                                     make things even more confusing, there
  251.                                     are two versions of ZipCode (v1 and v2).
  252.                                     The newer version will accept v1 archives,
  253.                                     but not vice-versa.  Use ZipCode v2 to
  254.                                     unpack such archives.
  255.  
  256. + <file>_x.z64  ZIPCoded file       These are ZIPcode compatible files
  257. +                                   created by a DOS program called Star Zip
  258.  
  259.   x!!<file>     ZIPCode 6-pack      This is a ZIPCode archive that takes an
  260.                                     entire disk and puts it into 6 files,
  261. |                                   each file containing GCR codes and header
  262.                                     info for the tracks.  This is basically
  263.                                     a nybble copier that stores the data it
  264.                                     receives from the disk into files.
  265.  
  266.   .bco          BCODEd file         BCODing is very similar to UUencoding in
  267.                                     that a binary file is converted into an
  268.                                     all-text format that is 33% larger than
  269.                                     the original.  The difference is that the
  270.                                     BCODE format provides additional
  271.                                     information for error detection and
  272.                                     automatic data segmentation and
  273.                                     reordering.  C-code versions of "bcode"
  274.                                     and "unbcode" are available via FTP and
  275.                                     Commodore versions are provided with
  276.                                     ACE-128/64.
  277.  
  278.   .zip          ZIP archive         Zip is a file format used on IBM
  279.                                     platforms and is created by the PKZip
  280.                                     program that is available for some
  281.                                     platforms.  There are two forms of zip
  282.                                     files that have the same extension.
  283.                                     Both are created by different versions of
  284.                                     PKZip.  The first, version 1.01, can be
  285.                                     dissolved on a 64 by using the program
  286.                                     UNZIP64.  The second, newer format is
  287.                                     version 2.04, which cannot be dissolved by
  288.                                     UNZIP64.  Your best solution when in doubt
  289.                                     is to dissolve the files on another
  290.                                     platform.  For the 128, there is a version
  291.                                     of the UNZIP64 program, called UNZIP128
  292.                                     that has been modified to run in 128 mode.
  293.                                     It is in a file called NZP12817.SFX.  This
  294.                                     archive also has a 64 version.
  295.  
  296.   <file>]x      Compression Kit     x = 4,7,8, cmd, or c(xx) to denote type
  297.                 Archive             of media that was compressed.  The files
  298.                                     can be extracted only with The Compression
  299.                                     Kit, from Mad Man Software.
  300.  
  301.   .tar          TAR Archive         UNIX Tape ARchiver.  This program can be
  302.                                     used to archive files as well.  The file
  303.                                     must be decoded using tar.
  304.  
  305.   .Z            Compress archive    Compress is a program on UNIX that will
  306.                                     shrink a single file.  It is usually used
  307.                                     on .tar files in UNIX to reduce their
  308.                                     size.  The file must be decoded by the
  309.                                     uncompress program, available on UNIX, PC,
  310.                                     Mac and other platforms.
  311.                                     Also, a very old version of GNU Zip used
  312.                                     this extension, although the file is not
  313.                                     fully compatible with the compress format.
  314.  
  315.   .gz           GZIP Archive        GZIP is a free program developed by the
  316.                                     Free Software Foundation to freely shrink
  317.                                     their software.  the resulting file must be
  318.                                     decoded by GUNZIP, available on many
  319.                                     platforms, before using.
  320.  
  321.   .taz          Compressed TAR      This is a file that should have the
  322.                                     extension "tar.Z", but has been shortened
  323.                                     for MS-DOS.  Run uncompress, then tar on
  324.                                     this file.
  325.                                     
  326.   .tgz          Gzipped Tar File    This is a file that should have extension
  327.                                     tar.gz, but has been shortened for MS-DOS
  328.                                     Run gzip or similar on the file, then tar.
  329.  
  330.   .gif          Graphics            This is a compressed graphics format 
  331.                 Interchange         created by Compuserve.  To view this file,
  332. |               Format              one must find a GIF viewer program:
  333. +                                   GEOGif.SFX  - Converts GIF to GEOPaint.
  334. +                                   VGIF.SFX    - 64 mode viewer.
  335. +                                   GDS.SFX     - 128 mode viewer.
  336.  
  337.   .jpeg         Joint               This graphics format can use one of two
  338.                 Photographers       compression algorithms.  One, called DPCM
  339.                 Expert              (Differential Pulse COde Modulation) 
  340.                 Group               retains all of the information in the 
  341.                                     original file, which is usually a picture.
  342.                                     The more common algorithm, called DCT
  343.                                     (Discrete Cosine Transform), relies on the
  344.                                     inability of the human eye to distinguish
  345.                                     among some colors.  DCT "throws away" some
  346.                                     information in the file (picture), while
  347.                                     still retaining the essence of the picture.
  348.                                     To view these pictures, one must either
  349.                                     obtain a JPEG veiwer or convert them to
  350.                                     GIF format.
  351.                                      
  352.   .jpg          JPEG                This is an MS-DOS named .jpeg file.
  353.   
  354.   .tiff         Tagged              This is a graphics format used on high
  355.                 Image               performance workstations.  To view this
  356.                 File                graphics format, you will need to convert
  357.                 Format              something else.
  358.  
  359.   .pcx          IBM Picture         This is graphics format used in DOS on 
  360.                                     IBM machines.  Convert this file to a
  361.                                     GIF file to view.
  362.   
  363.   .pict         Mac PICTure         This is a graphics format used on Apple
  364.                                     Macintosh machines.  Convert this file 
  365.                                     to a GIF file to view.
  366.   
  367.   .d64          1541 Disk Image     This file stores an image of one entire
  368.   .x64                              disk, for use with Commodore emulator
  369.                                     programs.  Several programs exist to 
  370.                                     extract the image onto a disk or place a
  371.                                     disk onto an image.  The only difference
  372.                                     between the .x64 and .d64 file types is an
  373.                                     added 64 byte header on a .x64 file.
  374.  
  375.   .t64         DataSette Image      This file is analogous to the .d64 file
  376.                                     type, but for tapes.
  377.   
  378.   .p00          PC64 (Emulator)     This file encapsulates a Commodore program
  379.                 Program File Image  or data file.  To extract the original 
  380.                                     file, remove the first 26 characters.  In 
  381.                                     addition to .p00, there is .s00 (SEQ), and
  382.                                     .u00 (USR) files, but are very rare.
  383.   
  384.   .bmp          Windows Bitmap      This is a format used for graphics in
  385.                                     Microsoft Windows and OS/2.  Convert this
  386.                                     file to a GIF to view.
  387.   
  388.   .pbm          Portable Bitmap     
  389.   
  390.   .xbm          X bitmap            This is a format used for graphics on the
  391.                                     X windowsing system.  Convert this file
  392.                                     to a GIF to view.
  393.   
  394.   .html         HyperText           This is a WWW hypertext document.  To
  395.                 Markup              view this file, you will need a WWW
  396.                 Language            browser of some kind.  See Section 6.8 
  397.                                     for more information on WWW.
  398.   
  399.   .doc          Document            This file could be a word processing file
  400.                                     from a program like Word for Windows, 
  401.                                     Wordperfect, or any other word processor.
  402.                                     Also, some text files that contain 
  403.                                     documentation use this extension.
  404.  
  405.   .cvt          GEOS file           GEOS files use a special file format. The
  406.                                     files are called USR files, but they have
  407.                                     special information in the file that
  408.                                     normal files don't, so you cannot just
  409.                                     upload a GEOS file like any SEQ or PRG
  410.                                     file. You can pack all the extra
  411.                                     information and the data into a regular
  412.                                     Commodore SEQ or PRG file with a program
  413.                                     Called Convert.  It has a version 2.5 and
  414.                                     a 3.0.  The files that result from this
  415.                                     conversion have the extension.  The file
  416.                                     must be processed again by Convert before
  417.                                     it can be used with GEOS.
  418.  
  419.   .N64           64NET file         Since the 64NET system works by allowing
  420.                                     an MS-DOS machine to be used as a large
  421.                                     disk drive, a way was developed to map
  422.                                     CBM filenames into the MS-DOS limitations.
  423.                                     The .N64 filenames indicates such a file.
  424.  
  425. + .D71           64NET GEOS File    These are 64NET extensions used to
  426. + .D81                              emulate a 1571 and 1581 disk drive,
  427. +                                   respectively, under GEOS.
  428.  
  429.   If the file type indicates an archive, there are many programs available
  430.   that will handle most archival methods. One of these is called Omega-Q II,
  431.   which includes one-stop compression and decompression of many of the above
  432.   archival types.
  433.   
  434.   If you use a host system to download the files from, you may want to
  435.   decompress the files before downloading.  Even though the files will be
  436.   larger to download, the time to decompress them offline will not be a
  437.   factor.  However, those who pay by-the-minute for download time would
  438.   probably want the smallest possible file, which implies decompressing on
  439.   the local machine, except in the case of a UU encoded file.  These files
  440.   are actually bigger in the 'UU' format.
  441.  
  442.   
  443. -- 
  444. Jim Brain, Embedded System Designer, Brain Innovations, Inc. (BII) (online sig)
  445. bii@mail.jbrain.com "Above views DO reflect my employer, since I'm my employer"
  446. Dabbling in WWW, Embedded Systems, Old CBM computers, and Good Times!      -Me-
  447. BII Home: http://www.jbrain.com          CBM Info: http://www.jbrain.com/vicug/
  448.